<%@LANGUAGE="VBSCRIPT" CODEPAGE="1252"%>
<html>
<head>
<title>Solic</title>
<!-- #include file="../includes/styles.css" -->
<!-- #include file="../includes/conn.asp" -->
<script language="JavaScript" type="text/javascript">
<!--
function m_over(src,clrOver) {
 if (!src.contains(event.fromElement)) {
  src.style.cursor = 'hand';
  src.bgColor = clrOver;
 }
}
function m_out(src,clrIn) {
 if (!src.contains(event.toElement)) {
  src.style.cursor = 'default';
  src.bgColor = clrIn;
 }
}
// -->
</script>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
</head>
<body>
<br>
<%
  ed = "delete materiais Where id="&request("codigo")
  conn.execute(ed)
%>
<script>
       alert("Registro deletado com sucesso!")
	   location.href='produto_pesquisa.asp'
</script>
</body>
</html>
